package org.example.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.example.domain.po.ErpSupplier;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author 14120
* @description 针对表【erp_supplier(供应商/客户/会员表)】的数据库操作Service
* @createDate 2024-10-22 15:26:30
*/
public interface ErpSupplierService extends IService<ErpSupplier> {

    List<ErpSupplier> selectByExample();
    List<ErpSupplier> selectByExample2();

    //分页条件查询
    Page<ErpSupplier> findByPage(Page<ErpSupplier> page, String supName, String supPhonenumber, String supContactnumber, Integer supType, Long TenantId);
    List<ErpSupplier> selectByExample3();

    boolean modifyTheState(List<Integer> ids, String status);

    List<ErpSupplier> findSupplier(Integer supType);

    List<ErpSupplier> findSuppliers();


    //    会员
    List<ErpSupplier> findSupplier3();
    List<ErpSupplier>findBy();
    
    List<ErpSupplier> findMember(Long tenantId, Integer subType);
    
    List<ErpSupplier> findMemberAndType(Long tenantId, List<Long> subType);
}
